<template>
  <mt-header fixed :title="title" class="mt-header">
    <!--<router-link to="">-->
    <!--&lt;!&ndash;<mt-button icon="back" v-html="back"></mt-button>&ndash;&gt;-->
    <mt-button icon="back" @click="back()" slot="left">返回</mt-button>
    <!--</router-link>-->
    <mt-button icon="more" slot="right"></mt-button>
  </mt-header>
</template>

<script>
  /* eslint-disable semi,no-trailing-spaces */

  let data;
  export default {
//    name: 'header',
    props: [
      'title'
//      'back'
    ],
    data () {
      return {
        data
      }
    },
    methods: {
      back () {
        window.history.go(-1);
      }
    },
    beforeMount () {
//      console.log(this.children)
    }
  }
</script>

<style>
  .mt-header {
    background: black;
    height: 80px;
    width: 100%;
  }
  /*.mint-header{*/
  /**/
  /*}*/
</style>
